function y = fh2(x)
%Full Hessian FH2 Function
%x0=[0.01,0.01,...,0.01]
%fmin=0
%Author:cai li
n=length(x);
y=(x(1)-5)^2;
for i=2:n
    y1=-1;
    for j=1:i
        y1=y1+x(i);
    end
    y=y+y1^2;
end